package com.lanou3g.k12.service;

import com.lanou3g.k12.entity.NewSupporter;
import com.lanou3g.k12.entity.Supporter;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface SupporterService {
    List<Supporter> findAll(Integer page, Integer size);

    String insert(Supporter supporter) throws Exception;

    void deleteSomeSupporter(Long[] ids);

    void deleteById(Integer id);

    void updateById(Supporter supporter);

    String resetPassword(Supporter supporter) throws Exception;
}
